﻿/*
 * Copyright (c) 2009, 北京理工大学  王柳茗
 * All rights reserved.
 *
 * $Revision$
 *
 * $Author$
 *
 * $Date$
 *
 * $Log$
 *
 */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace wlm.wsx
{
    /// <summary>
    /// Operator Class
    /// </summary>
    public abstract class Operator
    {
        /// <summary>
        /// 
        /// </summary>
        public Operator()
        {
        }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="name"></param>
        public Operator(string name)
        {
            _Name = name;
        }
        /// <summary>
        /// 名称
        /// </summary>
        public string Name
        {
            get
            {
                return _Name;
            }
        }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public abstract string ToXML();

        private string _Name;
    }
}
